<div id="menu">
    <a class="menuItem" href="logout.jsp">Logout</a><br/>
    <a class="menuItem" href="home.jsp">Home</a><br/>
    <a class="menuItem" href="profile.jsp">Edit Profile</a><br/>
    <%
        if (session.getAttribute("isChair") == null) {
            session.setAttribute("isChair", false);
        }
        if ((Boolean) session.getAttribute("isChair") == true) {
            System.out.println("User is a chair. Include chair only buttons in the menu.");
            
            out.println("<a class=\"menuItem\" href=\"upload.jsp\">Upload File</a><br/>");
            out.println("<a class=\"menuItem\" href=\"createAssignment.jsp\">Create Review Assignment</a><br/>");
            out.println("<a class=\"menuItem\" href=\"encrypt.jsp\">Encrypt Password</a><br/>");
        }
    %>
    <a class="menuItem" href="viewTableOfApplications.jsp">View Table of Applications</a><br/>
    <a class="menuItem" href="downloadPDF.jsp">Download PDF files</a><br/>
</div>